{# One provider's new-server form (overseer_deploy_form.provision_form), from what the provider sells where (its catalog, which the deploy agent fetches). Loading, it asks again until the agent has answered; ready, a size or region picked reloads it, so the regions are the ones that offer the size and the price is theirs. The price shown is typed back to create the server. #} {% from "components/macros/form.html" import action, checkbox, field, select, text_input %} {% from "pages/overseer/deployments/_macros.html" import asks, by_hand, failed, fold, reloads, waiting %}
New server on {{ p.name }}
{{ by_hand(p.own, "own", title="Already have a server?") }} {% if p.state == "loading" %} {{ waiting("Asking " ~ p.name ~ " what it sells, where…") }} {% elif p.state == "failed" %} {{ failed("", p) }} {% else %} {% endif %}